package com.software.cool.entity;

import lombok.Data;

import java.util.List;

/**
 * tree
 */
@Data
public class TreeEntity {

    /**
     * id
     */
    private Long id;
    /**
     * title
     */
    private String title;
    /**
     * 是否打开
     */
    private boolean spread;

    /**
     * 子节点
     */
    private List<TreeEntity> children;
}
